<template>
	<view :style="themeColor">
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center commodityClassification_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub commodityClassification_fd0_0'>
					<view class='flex flex-wrap align-center commodityClassification_fd0_0_c0' @tap.stop="handleJumpDiy"
						data-type="back" data-url="1">
						<text class='fu-iconfont2  commodityClassification_fd0_0_c0_c0'>&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='commodityClassification_fd0_0_c1_c0'>分类</text>
					</view>
					<view class='flex flex-wrap align-center justify-end commodityClassification_fd0_0_c0'>
					</view>
				</view>
			</view>
			<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
			<benben-goods-classify class='flex  commodityClassification_flex_classify_1' :top='88'
				:is-three-level='false' :lists="cateData" @handle-item="cateConfirm">
			</benben-goods-classify>
		</view>
	</view>
</template>
<script>
	import {
		cateModuleMixin
	} from './cateModuleMixin'
	export default {
		mixins: [cateModuleMixin],
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
		},
		methods: {
			cateConfirm(e) {
				uni.navigateTo({
					url: "/pages/sousuo/goodsList/goodsList?cid=" + e.id
				})
			}
		},
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
	}

	.commodityClassification_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.commodityClassification_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 500;
		color: #000000;
		line-height: 88rpx;
	}

	.commodityClassification_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.commodityClassification_fd0_0_c0 {
		width: 120rpx;
	}

	.commodityClassification_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	::v-deep .commodityClassification_flex_classify_1 {
		--classify-radius: 0rpx;
		--active-tag-color: rgba(173, 56, 35, 1);
	}

	::v-deep .classify-image {
		margin-bottom: 24rpx;
	}
</style>

<style>
	page {
		font-family: Alimama DongFangDaKai;
	}
</style>